﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin.master" CodeFile="EditProjectDetails.aspx.cs"
    Inherits="JobseekerProfile_EditProjectDetails" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
</asp:Content>
<asp:Content ID="contentbody" ContentPlaceHolderID="cphMainBody" runat="server">
<asp:ToolkitScriptManager ID="tksm1" runat="server"></asp:ToolkitScriptManager>
    <div id="dvAutority" runat="server" visible="false">
        <table width="100%">
            <tr>
                <td valign="bottom" class="leftheading" colspan="2" align="left">
                    <img src="images/headingbullet.gif" width="14" height="14">
                    UPDATE PROJECT DETAILS
                </td>
            </tr>
            <tr>
                <td class="leftsectionunderline" colspan="2">
                    <img src="images/spacer.gif" width="1" height="1">
                </td>
            </tr>
            <tr>
                <td class="tdstyle" style="width: 25%;">
                    Project Title
                </td>
                <td class="tdstyle" style="width: 75%;">
                    <asp:TextBox class="txt" ID="txtProjectTiltel" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Start Date
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtStarrDate" runat="server"></asp:TextBox>
                    <asp:CalendarExtender ID="ce2" runat="server" TargetControlID="txtStarrDate" Format="dd-MMM-yyyy" ></asp:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    End Date
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtEndDate" runat="server" ></asp:TextBox>
                   <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtEndDate" Format="dd-MMM-yyyy"></asp:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Designation
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtDesignation" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Project Location
                </td>
                <td class="tdstyle">
                    <asp:DropDownList CssClass="ddl" class="txt" ID="ddlProjectLocation" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Project Details
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtProjectDetails" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Role
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtRole" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Role Description
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtRoleDescription" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Team Size
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtTeamSize" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Key Skills
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtProjectKeySkills" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Employment Type
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtProjectEmploymentType" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Employer Name
                </td>
                <td class="tdstyle">
                    <asp:TextBox class="txt" ID="txtEmployer" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    Experience (Months)
                </td>
                <td class="tdstyle">
                    <asp:DropDownList CssClass="ddl" ID="ddlProjectExperience" runat="server">
                    </asp:DropDownList>
                    <asp:Button class="CSSButton" ID="btnAddProject" Text="ADD" runat="server" OnClick="btnAddProject_Click" />
                </td>
            </tr>
            <tr>
                <td class="tdstyle" colspan="2">
                    <asp:Panel ID="pnlProjectDetails" runat="server" ScrollBars="Auto" Width="600px">
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td class="tdstyle">
                    <asp:Button class="CSSButton" ID="btnProjectDetaiils" Text="Update Project Details "
                        runat="server" OnClick="btnProjectDetaiils_Click" />
                </td>
                <td class="tdstyle">
                </td>
            </tr>
            <tr>
                <td class="tdstyle" colspan="2">
                    <asp:GridView runat="server" CellPadding="3" GridLines="Vertical" CssClass="griddiv"
                        ID="grdProjectDetails" AutoGenerateColumns="false" OnRowDataBound="grdProjectDetails_RowDataBound">
                        <Columns>
                            <asp:TemplateField ItemStyle-CssClass="griditem" HeaderText="Project Title">
                                <ItemTemplate>
                                    <%#Eval("PROJECT_TITLE") %>
                                    <asp:HiddenField ID="hfID" Value='<%# Eval("ID") %>' runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%--<asp:BoundField DataField="PROJECT_TITLE" HeaderText="Project Title"></asp:BoundField>--%>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="DURATION_START" HeaderText="Start Date" DataFormatString="{0:dd/MMM/yyyy}">
                            </asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="DURATION_END" HeaderText="End Date" DataFormatString="{0:dd/MMM/yyyy}">
                            </asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="DESIGNATION" HeaderText="Designation"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="PROJECT_LOCATION" HeaderText="Project Location"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="PROJECT_DETAILS" HeaderText="Project Details"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="ROLE" HeaderText="Role"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="ROLE_DESCRIPTION" HeaderText="Role Description"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="TEAM_SIZE" HeaderText="Team Size"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="SKILLS_USED" HeaderText="Key Skills"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="EMPLOYMENT_TYPE" HeaderText="Employment Type"></asp:BoundField>
                            <asp:BoundField ItemStyle-CssClass="griditem" DataField="EXPERIENCE" HeaderText="Experience (Months)"></asp:BoundField>
                        </Columns>
                        <AlternatingRowStyle BackColor="#CCCCCC"></AlternatingRowStyle>
                        <FooterStyle BackColor="#CCCCCC"></FooterStyle>
                        <PagerStyle CssClass="pagingstyle" />
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True"  />
                        <HeaderStyle CssClass="greedhead" Font-Bold="True" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
